package com.bookstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookstore.entity.vo.NameValueVO;
import com.bookstore.entity.vo.OrderManageVO;
import com.bookstore.entity.vo.OrderVo;
import com.bookstore.entity.vo.TodayVolumVO;

import java.util.List;


public interface OrderService extends IService<com.bookstore.entity.po.OrderPO> {
    public static final int NOT_SHIPPED = 0;
    public static final String  NOT_SHIPPED_STRING = "未发货";
    public static final int _SHIPPED = 1;
    public static final String  _SHIPPED_STRING = "已发货";
    public static final int SINGED = 2;
    public static final String SINGED_STRING = "已签收";
    public static final int CANCEL = 3;
    public static final String CANCEL_STRING = "已取消";
    List<OrderVo> getUnsignedOrder(String username);

    List<OrderVo> getSignedOrder(String userName);

    List<TodayVolumVO> getTodayVolume();

    List<NameValueVO> getClassVolume();

    List<NameValueVO> nearTM();

    List<OrderManageVO> getOrderList(Integer start ,Integer offset);
}
